package io.lw.springbootamq.receiver;


import io.lw.springbootamq.constant.Constant;
import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

//@Component
//@RabbitListener(queues = {Constant.QUEUE_NAME_1,Constant.QUEUE_NAME_2})
public class Receiver3 {

    @RabbitHandler
    public void receiver(String msg){
        System.out.println("Test3 receiver3:"+msg);
    }
}
